JavaScript
A5.d.date.relative.generatesecond Method
Syntax
A5.d.date.relative.generate.second(second)
Arguments
- secondnumber
The delta in seconds between two dates.
Returns
- secondstring
The correctly formatted representation of the delta in seconds.
Description
Method used to generate how seconds should be representation in a relative date. For example turning "1" into "1 second", and "3" into "3 seconds". See Date.toRelative.